package com.sun.huazhi.aitaskservice;

import com.sun.huazhi.aitaskservice.common.config.PythonApiProperties;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.beans.factory.BeanDefinitionStoreException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@SpringBootApplication
@EnableCaching // 启用缓存
@EnableConfigurationProperties(PythonApiProperties.class)
@EnableAspectJAutoProxy //启用AOP
public class HuaZhiAPIApplication {
    public static void main(String[] args) {
        SpringApplication.run(HuaZhiAPIApplication.class , args);
    }
}
